using System;

namespace Framework.Core
{
    public class WorkItemExecutionResult
    {
        public static WorkItemExecutionResult DidNothing = new WorkItemExecutionResult();

        public WorkItemExecutionResult()
        {
            AutoRunTasks = new int[] { };
            AutoOpenDocumentReferences = new AutoOpenDocumentInfo[] { };
        }
        public bool Success { get; set; }
        public bool SubjectUpdated { get; set; }
        public int[] AutoRunTasks { get; set; }
        public AutoOpenDocumentInfo[] AutoOpenDocumentReferences { get; set; }
        public int? NavigateToActivityId { get; set; }
        public int? NavigateToCaseId { get; set; }
        public Guid LongRunningWorkItemId { get; set; }
        public object IntrayData { get; set; }
    }
}